package cn.aitrox.ry.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 分页数据结构
 *
 * @param <T>
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CommonPageInfo<T> {
    private long total;

    private int pages;

    private List<T> list = new ArrayList<T>();

}
